package org.ifilm.service;

import java.util.List;

import org.ifilm.model.Message;
import org.ifilm.model.MessageSubject;

/**
 * 
 * @author Mustafa Genç
 *
 */
public interface MessageService {
	public Message createMessage(Message message);
	
	public List<MessageSubject> getMessageSubjects(Long userId);
	
	public MessageSubject getMessageSubject(Long messageSubjectId);
	
	public MessageSubject createMessageSubject(MessageSubject messageSubject);
	
	public void updateMessages(MessageSubject messageSubject, Message message);
	
	public List<MessageSubject> getUnreadMessages(Long userId);
	
	public void setRead(MessageSubject messageSubject);
}